<html><body><script language="Javascript">
      alert(
        /my regexp/.matches('hello, world!'));
      alert(/<html>/.matches('hello, world!'));
        alert(/<body/
      .
      matches('hello, world!'));
      alert(/"/ig
      .matches
      ('hello, world!'));
        alert(   /'/ig .matches
      ('hello, world!'));
</script>  </body></html>